package modle;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Gamematch entity. @author MyEclipse Persistence Tools
 */

public class Gamematch implements java.io.Serializable {

	// Fields

	private Long matchId;
	private Member memberByWinnerId;
	private Member memberByPlayer2;
	private Member memberByPlayer1;
	private String gametypeCode;
	private Integer boardId;
	private Integer clubId;
	private Integer stadiumId;
	private String pieceDesign1;
	private String pieceDesign2;
	private Integer timerDuration;
	private String limitDraws;
	private String matchLocalName;
	private String matchWorldName;
	private String player1Invitation;
	private String player2Invitation;
	private Timestamp setupStartTime;
	private Timestamp gameStartTime;
	private Short audienceSecurityLevel;
	private Short reviewerSecurityLevel;
	private Timestamp reviewerEndDate;
	private String movesPlayer1;
	private String movesPlayer2;
	private String matchResult;
	private String categoryCode1;
	private String categoryCode2;
	private String userCr;
	private Timestamp dateCr;
	private String userMod;
	private Timestamp dateMod;
	
	private int stadium_position;
	private int gameoffer_id;
	
//	private Set chatmemberships = new HashSet(0);
//	private Set chatlines = new HashSet(0);

	// Constructors

	public int getStadium_position() {
		return stadium_position;
	}

	public void setStadium_position(int stadiumPosition) {
		stadium_position = stadiumPosition;
	}

	public int getGameoffer_id() {
		return gameoffer_id;
	}

	public void setGameoffer_id(int gameofferId) {
		gameoffer_id = gameofferId;
	}

	/** default constructor */
	public Gamematch() {
	}

	/** minimal constructor */
	public Gamematch(String gametypeCode, Integer boardId, Integer clubId,
			Integer stadiumId, String pieceDesign1, String pieceDesign2) {
		this.gametypeCode = gametypeCode;
		this.boardId = boardId;
		this.clubId = clubId;
		this.stadiumId = stadiumId;
		this.pieceDesign1 = pieceDesign1;
		this.pieceDesign2 = pieceDesign2;
	}



	// Property accessors

	public Long getMatchId() {
		return this.matchId;
	}

	public void setMatchId(Long matchId) {
		this.matchId = matchId;
	}

	public Member getMemberByWinnerId() {
		return this.memberByWinnerId;
	}

	public void setMemberByWinnerId(Member memberByWinnerId) {
		this.memberByWinnerId = memberByWinnerId;
	}

	public Member getMemberByPlayer2() {
		return this.memberByPlayer2;
	}

	public void setMemberByPlayer2(Member memberByPlayer2) {
		this.memberByPlayer2 = memberByPlayer2;
	}

	public Member getMemberByPlayer1() {
		return this.memberByPlayer1;
	}

	public void setMemberByPlayer1(Member memberByPlayer1) {
		this.memberByPlayer1 = memberByPlayer1;
	}

	public String getGametypeCode() {
		return this.gametypeCode;
	}

	public void setGametypeCode(String gametypeCode) {
		this.gametypeCode = gametypeCode;
	}

	public Integer getBoardId() {
		return this.boardId;
	}

	public void setBoardId(Integer boardId) {
		this.boardId = boardId;
	}

	public Integer getClubId() {
		return this.clubId;
	}

	public void setClubId(Integer clubId) {
		this.clubId = clubId;
	}

	public Integer getStadiumId() {
		return this.stadiumId;
	}

	public void setStadiumId(Integer stadiumId) {
		this.stadiumId = stadiumId;
	}

	public String getPieceDesign1() {
		return this.pieceDesign1;
	}

	public void setPieceDesign1(String pieceDesign1) {
		this.pieceDesign1 = pieceDesign1;
	}

	public String getPieceDesign2() {
		return this.pieceDesign2;
	}

	public void setPieceDesign2(String pieceDesign2) {
		this.pieceDesign2 = pieceDesign2;
	}

	public Integer getTimerDuration() {
		return this.timerDuration;
	}

	public void setTimerDuration(Integer timerDuration) {
		this.timerDuration = timerDuration;
	}

	public String getLimitDraws() {
		return this.limitDraws;
	}

	public void setLimitDraws(String limitDraws) {
		this.limitDraws = limitDraws;
	}

	public String getMatchLocalName() {
		return this.matchLocalName;
	}

	public void setMatchLocalName(String matchLocalName) {
		this.matchLocalName = matchLocalName;
	}

	public String getMatchWorldName() {
		return this.matchWorldName;
	}

	public void setMatchWorldName(String matchWorldName) {
		this.matchWorldName = matchWorldName;
	}

	public String getPlayer1Invitation() {
		return this.player1Invitation;
	}

	public void setPlayer1Invitation(String player1Invitation) {
		this.player1Invitation = player1Invitation;
	}

	public String getPlayer2Invitation() {
		return this.player2Invitation;
	}

	public void setPlayer2Invitation(String player2Invitation) {
		this.player2Invitation = player2Invitation;
	}

	public Timestamp getSetupStartTime() {
		return this.setupStartTime;
	}

	public void setSetupStartTime(Timestamp setupStartTime) {
		this.setupStartTime = setupStartTime;
	}

	public Timestamp getGameStartTime() {
		return this.gameStartTime;
	}

	public void setGameStartTime(Timestamp gameStartTime) {
		this.gameStartTime = gameStartTime;
	}

	public Short getAudienceSecurityLevel() {
		return this.audienceSecurityLevel;
	}

	public void setAudienceSecurityLevel(Short audienceSecurityLevel) {
		this.audienceSecurityLevel = audienceSecurityLevel;
	}

	public Short getReviewerSecurityLevel() {
		return this.reviewerSecurityLevel;
	}

	public void setReviewerSecurityLevel(Short reviewerSecurityLevel) {
		this.reviewerSecurityLevel = reviewerSecurityLevel;
	}

	public Timestamp getReviewerEndDate() {
		return this.reviewerEndDate;
	}

	public void setReviewerEndDate(Timestamp reviewerEndDate) {
		this.reviewerEndDate = reviewerEndDate;
	}

	public String getMovesPlayer1() {
		return this.movesPlayer1;
	}

	public void setMovesPlayer1(String movesPlayer1) {
		this.movesPlayer1 = movesPlayer1;
	}

	public String getMovesPlayer2() {
		return this.movesPlayer2;
	}

	public void setMovesPlayer2(String movesPlayer2) {
		this.movesPlayer2 = movesPlayer2;
	}

	public String getMatchResult() {
		return this.matchResult;
	}

	public void setMatchResult(String matchResult) {
		this.matchResult = matchResult;
	}

	public String getCategoryCode1() {
		return this.categoryCode1;
	}

	public void setCategoryCode1(String categoryCode1) {
		this.categoryCode1 = categoryCode1;
	}

	public String getCategoryCode2() {
		return this.categoryCode2;
	}

	public void setCategoryCode2(String categoryCode2) {
		this.categoryCode2 = categoryCode2;
	}

	public String getUserCr() {
		return this.userCr;
	}

	public void setUserCr(String userCr) {
		this.userCr = userCr;
	}

	public Timestamp getDateCr() {
		return this.dateCr;
	}

	public void setDateCr(Timestamp dateCr) {
		this.dateCr = dateCr;
	}

	public String getUserMod() {
		return this.userMod;
	}

	public void setUserMod(String userMod) {
		this.userMod = userMod;
	}

	public Timestamp getDateMod() {
		return this.dateMod;
	}

	public void setDateMod(Timestamp dateMod) {
		this.dateMod = dateMod;
	}



}